package com.whzjkj.gateway.config;

import com.whzjkj.gateway.server.session.TCPSessionManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @description:
 * @author: Mr.Hu
 * @create: 2018-11-01 10:32
 **/
@Configuration
public class SessionConfig {

    @Bean
    public TCPSessionManager sessionManager(){
        return TCPSessionManager.getInstance();
    }
}
